<template> 
   <div>
     <layout></layout> 
   </div>
</template>

<script>
import Layout from "@/components/layout/Layout";
	import {
		mapState
	} from 'vuex'
export default {
  components: {
    Layout,
  },
  data() {
    return {
      
      
    }
  },
  computed:{
    ...mapState(['textData'])
  },
  watch:{
    textData(val){
      console.log(val)
    }
  },
  mounted(){
    
  },
  methods:{
    test(){
      this.$bus.$emit("testData","hello bus")
      this.$router.push("/user")
    }
  }
}
</script>
